home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
tools
/
czesc_2
/
jm
/
rexxexamples
/
queries.rexx
next >
Wrap
OS/2 REXX Batch file
|
1992-03-12
|
1KB
|
45 lines
/*c:rx
*****************************************************************************
* *
* Example program to query information from JM server's ARexx port *
* *
*****************************************************************************/
options results /* we want to hear about results */
address jmserver /* connect to JM server's ARexx port */
num_start
say result "Processes have been started"
num_finish
say result "Processes have finished"
idle_cpu
say "Approx. idle CPU % is" result/100
quantum
say "JM time quantum is" result " 10ths of a sec"
logfile
say "The JM logfile is" '"'||result||'"'
logswitch
say "The JM logfile is turned" result
install_delay
say "The task install delay is:" result " 10ths of a sec"
manageswitch
say "JM task management is" result
managed_num
say "There are" result "managed tasks"
watchswitch
say "JM task watch is" result
sysload
say "The approx. CPU load is:" result/100